import hoc from '@/utils/hoc';

import FaceValueList from './Modal.FaceValueList.vue';
import PlatformType from './Modal.PlatformType.vue';
import RemoteOrderList from './Modal.RemoteOrderList.vue';
import TransformAllOrder from './Modal.TransformAllOrder.vue';
import TransformOrder from './Modal.TransformOrder.vue';

export const ModalPlatformType = hoc(PlatformType, {
  id: 'modalPlatformType_index',
});

export const ModalFaceValueList = hoc(FaceValueList, {
  id: 'modalFaceValueList',
});

export const ModalTransformOrder = hoc(TransformOrder, {
  id: 'modalTransformOrder',
});

export const ModalTransformAllOrder = hoc(TransformAllOrder, {
  id: 'modalTransformAllOrder',
});

export const ModalRemoteOrderList = hoc(RemoteOrderList, {
  id: 'modalRemoteOrderList',
});

const Modals = () => (
  <>
    <ModalPlatformType.Instance />
    <ModalFaceValueList.Instance />
    <ModalTransformOrder.Instance />
    <ModalTransformAllOrder.Instance />
    <ModalRemoteOrderList.Instance />
  </>
);

export default Modals;
